<!--
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-440172-17");
pageTracker._setDomainName("none");
pageTracker._setAllowLinker(true);
pageTracker._trackPageview();
} catch(err) {}</script>
<div id="geral">
<table width="200" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><iframe src="http://w.qq.com" frameborder="0" width="300px" height="500px" name="index "></iframe></td>
  </tr>
-->
  
  <html>
  
  <head>
    <style type="text/css">
    </style>
  </head>
  <script>
    function gadget_url() {

      var url = "http://talkgadget.google.com/talkgadget/client";

      if (localStorage.customDomain) url = "http://hostedtalkgadget.google.com/a/" + localStorage.customDomain + "/talkgadget/client";

      return url;

    }

    window.onload = function() {

      document.getElementById("gadget-frame").src = gadget_url();

    }
  </script>
  
  <body>
    <iframe id="gadget-frame" scrolling="no" frameborder="0" style="overflow:hidden; width: 300px; height: 446px;">
    </iframe>
  </body>

</html>

<!--
<html>
  
  <head>
    <title>
      Google Talk Widget - Options
    </title>
    <style>
      body { font-family:helvetica, arial, sans-serif; font-size:80%; margin:10px;
      } #header { padding-bottom:1.5em; padding-top:1.5em; } #header h1 { font-size:
      156%; display:inline; padding-bottom:43px; padding-left:75px; padding-top:40px;
      background:url(icon_128.png) no-repeat; background-size:67px; background-position:1px
      18px; } .section-header { background:#ebeff9; border-top:1px solid #b5c7de;
      font-size:99%; padding:3px 0 2px 5px; font-weight:bold; margin-bottom:1em;
      margin-top:4em; } .section-header.first { margin-top:1em; } #custom-domain
      { width:300px; margin-left:2px; } #footer { margin-top:4em; }
    </style>
  </head>
  
  <body>
    <div id="header">
      <h1>
        Google Talk Gadget Options
      </h1>
    </div>
    <div class="section-header first">
      Custom Domain
    </div>
    <p>
      To use Google Talk Gadget with Google Apps, enter the domain name here.
      <p>
        <input type="text" id="custom-domain" oninput="markDirty()">
        <em>
          (eg mydomain.com)
        </em>
        <div id="footer">
          <button id="save-button" style="font-weight:bold" onclick="save()">
            Save
          </button>
          <button onclick="init()">
            Cancel
          </button>
        </div>
        <script>
          var customDomainsTextbox;
          var saveButton;

          init();

          function init() {
            customDomainsTextbox = document.getElementById("custom-domain");
            saveButton = document.getElementById("save-button");

            customDomainsTextbox.value = localStorage.customDomain || "";
            markClean();
          }

          function save() {
            localStorage.customDomain = customDomainsTextbox.value;
            markClean();

            chrome.extension.getBackgroundPage().init();
          }

          function markDirty() {
            saveButton.disabled = false;
          }

          function markClean() {
            saveButton.disabled = true;
          }
        </script>
  </body>

</html>
-->